Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(kuma-cp): introduce OpenTelemetry tracing #7153

Merged
merged 4 commits into from
Jun 30, 2023

Conversation

michaelbeaumont
Copy link
Contributor

@michaelbeaumont michaelbeaumont commented Jun 30, 2023

Span #1
    Trace ID       : ce74b2c0cb19c2bf5dc1eddb13b075c2
    Parent ID      :
    ID             : cc2c6e954782a543
    Name           : /meshes
    Kind           : SPAN_KIND_SERVER
    Start time     : 2023-06-30 13:05:27.023127684 +0000 UTC
    End time       : 2023-06-30 13:05:27.023294989 +0000 UTC
    Status code    : STATUS_CODE_UNSET
    Status message :
Attributes:
     -> http.method: STRING(GET)
     -> http.scheme: STRING(http)
     -> http.flavor: STRING(1.1)
     -> net.host.name: STRING(api-server)
     -> net.host.port: INT(5681)
     -> net.sock.peer.addr: STRING(::1)
     -> net.sock.peer.port: INT(44582)
     -> http.user_agent: STRING(HTTPie/3.2.1)
     -> http.route: STRING(/meshes)
     -> http.status_code: INT(200)

Checklist prior to review

Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
@michaelbeaumont michaelbeaumont marked this pull request as ready for review June 30, 2023 13:05
@michaelbeaumont michaelbeaumont requested a review from a team as a code owner June 30, 2023 13:05
@michaelbeaumont michaelbeaumont requested review from slonka and bartsmykla and removed request for a team June 30, 2023 13:05
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Signed-off-by: Mike Beaumont <mjboamail@gmail.com>
Copy link
Contributor

@frzifus frzifus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm :)

ctx,
otelConfig.Endpoint,
grpc.WithTransportCredentials(
insecure.NewCredentials(),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be configurable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah we need to add this in another PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaelbeaumont - do we have an issue for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants